package com.si.gulimall.member.feign;

import com.si.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 唯一
 * @version 1.0
 * @date 2022/5/23 19:00
 */

/**
 * 这是一个声明式的远程调用
 */
@FeignClient("sigulimall-coupon")
public interface CouponFeignSeivice {
    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupons();
}
